[INFO] cloning repository https://github.com/swd543/impasse
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swd543/impasse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswd543%2Fimpasse", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswd543%2Fimpasse'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3c377ecf537252fbeb8876ece362fe86f89e35e3
[INFO] checking swd543/impasse against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswd543%2Fimpasse" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/swd543/impasse
[INFO] finished tweaking git repo https://github.com/swd543/impasse
[INFO] tweaked toml for git repo https://github.com/swd543/impasse written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/swd543/impasse on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/swd543/impasse already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e91a0d4f594c57c7a046a90b1745bfce270d78af21514579ec0f02418f92378f
[INFO] running `Command { std: "docker" "start" "-a" "e91a0d4f594c57c7a046a90b1745bfce270d78af21514579ec0f02418f92378f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e91a0d4f594c57c7a046a90b1745bfce270d78af21514579ec0f02418f92378f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e91a0d4f594c57c7a046a90b1745bfce270d78af21514579ec0f02418f92378f", kill_on_drop: false }`
[INFO] [stdout] e91a0d4f594c57c7a046a90b1745bfce270d78af21514579ec0f02418f92378f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cdd5e066fb4dbcb21767018203fb580af916a4cc8e1fcd56522496866c025acd
[INFO] running `Command { std: "docker" "start" "-a" "cdd5e066fb4dbcb21767018203fb580af916a4cc8e1fcd56522496866c025acd", kill_on_drop: false }`
[INFO] [stderr]     Checking impasse v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/main.rs:3:32
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Error, Formatter, Write};
[INFO] [stdout]   |                                ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Product`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter::Product;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/main.rs:3:32
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Error, Formatter, Write};
[INFO] [stdout]   |                                ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Product`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::iter::Product;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         &Ok(&self.state[0][0])
[INFO] [stdout]    |          -- ^^^^^^^^^^^^^^^^^ expected `State`, found `&State`
[INFO] [stdout]    |          |
[INFO] [stdout]    |          arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout] help: the type constructed contains `&State` due to the type of the argument passed
[INFO] [stdout]   --> src/main.rs:75:10
[INFO] [stdout]    |
[INFO] [stdout] 75 |         &Ok(&self.state[0][0])
[INFO] [stdout]    |          ^^^-----------------^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/result.rs:552:5
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 75 -         &Ok(&self.state[0][0])
[INFO] [stdout] 75 +         &Ok(self.state[0][0])
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/main.rs:3:50
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Error, Formatter, Write};
[INFO] [stdout]   |                                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `position`
[INFO] [stdout]   --> src/main.rs:34:27
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn valid_moves(&self, position: Coord){
[INFO] [stdout]    |                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let mut board = Board::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `impasse` (bin "impasse") due to 1 previous error; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         &Ok(&self.state[0][0])
[INFO] [stdout]    |          -- ^^^^^^^^^^^^^^^^^ expected `State`, found `&State`
[INFO] [stdout]    |          |
[INFO] [stdout]    |          arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout] help: the type constructed contains `&State` due to the type of the argument passed
[INFO] [stdout]   --> src/main.rs:75:10
[INFO] [stdout]    |
[INFO] [stdout] 75 |         &Ok(&self.state[0][0])
[INFO] [stdout]    |          ^^^-----------------^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/result.rs:552:5
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 75 -         &Ok(&self.state[0][0])
[INFO] [stdout] 75 +         &Ok(self.state[0][0])
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/main.rs:3:50
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Error, Formatter, Write};
[INFO] [stdout]   |                                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `position`
[INFO] [stdout]   --> src/main.rs:34:27
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn valid_moves(&self, position: Coord){
[INFO] [stdout]    |                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let mut board = Board::new();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `impasse` (bin "impasse" test) due to 1 previous error; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cdd5e066fb4dbcb21767018203fb580af916a4cc8e1fcd56522496866c025acd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cdd5e066fb4dbcb21767018203fb580af916a4cc8e1fcd56522496866c025acd", kill_on_drop: false }`
[INFO] [stdout] cdd5e066fb4dbcb21767018203fb580af916a4cc8e1fcd56522496866c025acd
